######################################################################
# Bit serial Greater than ModelSim do file
# Stephen West, James Carroll
# BYU ECEn 620, Fall 2008
######################################################################
quit -sim

vcom BitSerialGreater.vhd
vcom Delay_N.vhd
vsim BitSerialGreater
add wave *

force clk 1,0 10ns -r 20ns

#+1
force lsb_in 1,0 20ns
force a_in 0
force b_in 1,0 20ns 
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns


#1010101010
force lsb_in 1,0 20ns
force b_in 0
force a_in 1,0 20ns -r 40ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns

noforce a_in
#1010101010
force lsb_in 1,0 20ns
force b_in 1,0 40ns
force a_in 1,0 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns
run 20ns

